using Common.Domain;
using System.Collections.Generic;

namespace Data.Repository
{
    public interface IUniRepo
    {
        T Insert<T>(T o) where T : BaseEntity, new();
        void Save();
        T Get<T>(int id) where T : BaseEntity;
        IEnumerable<T> GetAll<T>() where T : BaseEntity;
    }
}